package com.graduation.entity;

import java.math.BigDecimal;

public class Goods {
    private String id;
    private String goodsName;
    private String goodsType;
    private String goodsDetails;
    private Integer stock;
    private double price;
    private Integer shopName;
    private String remarks;
    private String fileName;
    private String issuetime;
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIssuetime() {
        return issuetime;
    }

    public void setIssuetime(String issuetime) {
        this.issuetime = issuetime;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Goods() {

    }

    public Goods(String id, String goodsName, String goodsType, String goodsDetails,
                 Integer stock, double price, Integer shopName, String remarks, String fileName) {
        this.id = id;
        this.goodsName = goodsName;
        this.goodsType = goodsType;
        this.goodsDetails = goodsDetails;
        this.stock = stock;
        this.price = price;
        this.shopName = shopName;
        this.remarks = remarks;
        this.fileName = fileName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsDetails() {
        return goodsDetails;
    }

    public void setGoodsDetails(String goodsDetails) {
        this.goodsDetails = goodsDetails;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Integer getShopName() {
        return shopName;
    }

    public void setShopName(Integer shopName) {
        this.shopName = shopName;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id='" + id + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsType='" + goodsType + '\'' +
                ", goodsDetails='" + goodsDetails + '\'' +
                ", stock=" + stock +
                ", price=" + price +
                ", shopName=" + shopName +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
